package com.nmh.dto;

import com.baomidou.mybatisplus.annotation.TableField;

import com.nmh.entity.Enclosure;
import com.nmh.entity.Pasture;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "牧场DTO类")
public class PastureDTOS extends Pasture implements Serializable {
    /**
     * 存栏量
     */
    @ApiModelProperty(value = "所有圈舍的存量量总和")
    @TableField("Inventory")
    private Integer Inventory;

    @ApiModelProperty(value = "牲畜的品种")
    @TableField("breed")
    private String breed;

    @ApiModelProperty(value = "所属圈舍的列表")
    private List<Enclosure> circleList;
}
